import { createApp } from 'vue'
// import './style.css'
import App from './App.vue'
import { NavBar,Tabbar, TabbarItem } from 'vant'
import 'vant/lib/index.css';
import '../global.css'

import {createMemoryHistory, createRouter, createWebHashHistory} from 'vue-router'
import routes from "./config/route.js";
import { Search } from 'vant';
import { TreeSelect } from 'vant';
import { Tag } from 'vant';
import { Divider } from 'vant';
import { Form, Field, CellGroup } from 'vant';
import { Card } from 'vant';
import { Toast } from 'vant';
import { Popup } from 'vant';
import { DatePicker } from 'vant';










const app = createApp(App)

const router = createRouter({
    history: createWebHashHistory(),
    routes,
})


app.use(Popup);
app.use(DatePicker);

app.use(NavBar);
app.use(Tabbar);
app.use(TabbarItem);
app.use(router);
app.use(Search);
app.use(TreeSelect);
app.use(Tag);
app.use(Divider);
app.use(Form);
app.use(Field);
app.use(CellGroup);
app.use(Card);
app.use(Toast);






app.mount('#app');






